100 |
How can I programmatically change the column where incremental searching is performed
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add "Column 1" .Columns.Add "Column 2" With .Items .CellCaption(.AddItem("Item 1"),1) = "SubItem 1" End With .SearchColumnIndex = 1 End With End Function </SCRIPT> </BODY> |
99 |
How do I disable the full-row selection in the control
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .FullRowSelect = False .Columns.Add "Column" .Items.AddItem "One" .Items.AddItem "Two" End With End Function </SCRIPT> </BODY> |
98 |
Is there any option to specify the height of the items, before adding them
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .DefaultItemHeight = 32 .Columns.Add "Column" .Items.AddItem "One" .Items.AddItem "Two" End With End Function </SCRIPT> </BODY> |
97 |
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .CountLockedColumns = 1 .BackColorLock = RGB(240,240,240) .ColumnAutoResize = False .Columns.Add("Locked").Width = 128 .Columns.Add("Un-Locked 1").Width = 128 .Columns.Add("Un-Locked 2").Width = 128 .Columns.Add("Un-Locked 3").Width = 128 With .Items .CellCaption(.AddItem("locked"),1) = "unlocked" End With End With End Function </SCRIPT> </BODY> |
96 |
How do I change the control's background / foreground color on the locked area
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .CountLockedColumns = 1 .ForeColorLock = RGB(240,240,240) .BackColorLock = RGB(128,128,128) .ColumnAutoResize = False .Columns.Add("Locked").Width = 128 .Columns.Add("Un-Locked 1").Width = 128 .Columns.Add("Un-Locked 2").Width = 128 .Columns.Add("Un-Locked 3").Width = 128 With .Items .CellCaption(.AddItem("locked"),1) = "unlocked" End With End With End Function </SCRIPT> </BODY> |
95 |
How do I change the control's foreground color
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .ForeColor = RGB(120,120,120) .Columns.Add "Column" .Items.AddItem "item" End With End Function </SCRIPT> </BODY> |
94 |
How do I change the control's background color
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .BackColor = RGB(200,200,200) End With End Function </SCRIPT> </BODY> |
93 |
How do I use my own icons for my radio buttons
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" .RadioImage(0) = 1 .RadioImage(1) = 2 .Columns.Add("Radio").Def(1) = True With .Items .AddItem "Radio 1" .CellState(.AddItem("Radio 2"),0) = 1 .AddItem "Radio 3" End With End With End Function </SCRIPT> </BODY> |
92 |
How do I use my own icons for checkbox cells
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" .CheckImage(0) = 1 .CheckImage(1) = 2 .Columns.Add("Check").Def(0) = True With .Items .AddItem "Check 1" .CellState(.AddItem("Check 2"),0) = 1 End With End With End Function </SCRIPT> </BODY> |
91 |
How do I perform my own sorting when user clicks the column's header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .SortOnClick = 1 .Columns.Add "Column" .Items.AddItem "Item 1" .Items.AddItem "Item 2" End With End Function </SCRIPT> </BODY> |
90 |
How do I disable sorting a specified column when clicking its header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add "1" .Columns.Add("NoSort").AllowSort = False End With End Function </SCRIPT> </BODY> |
89 |
How do I disable sorting the columns when clicking the control's header
|
88 |
How do I put a picture on the center of the control
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Picture = Tree1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") .PictureDisplay = 17 End With End Function </SCRIPT> </BODY> |
87 |
How do I resize/stretch a picture on the control's background
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Picture = Tree1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") .PictureDisplay = 49 End With End Function </SCRIPT> </BODY> |
86 |
How do I put a picture on the control's center right bottom side
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Picture = Tree1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") .PictureDisplay = 34 End With End Function </SCRIPT> </BODY> |
85 |
How do I put a picture on the control's center left bottom side
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Picture = Tree1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") .PictureDisplay = 32 End With End Function </SCRIPT> </BODY> |
84 |
How do I put a picture on the control's center top side
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Picture = Tree1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") .PictureDisplay = 1 End With End Function </SCRIPT> </BODY> |
83 |
How do I put a picture on the control's right top corner
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Picture = Tree1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") .PictureDisplay = 2 End With End Function </SCRIPT> </BODY> |
82 |
How do I put a picture on the control's left top corner
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Picture = Tree1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)") .PictureDisplay = 0 End With End Function </SCRIPT> </BODY> |
81 |
How do I put a picture on the control's background
|
80 |
How do I sort descending a column, and put the sorting icon in the column's header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add "Column" With .Items .AddItem "Item 1" .AddItem "Item 2" .AddItem "Item 3" End With .Columns.Item(0).SortOrder = 2 End With End Function </SCRIPT> </BODY> |
79 |
How do I sort ascending a column, and put the sorting icon in the column's header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add "Column" With .Items .AddItem "Item 3" .AddItem "Item 1" .AddItem "Item 2" End With .Columns.Item(0).SortOrder = 1 End With End Function </SCRIPT> </BODY> |
78 |
How do I perform my own/custom sort, using my extra strings
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("desc").SortType = 5 With .Items .CellData(.AddItem("A"),0) = "C" .CellData(.AddItem("B"),0) = "B" .CellData(.AddItem("C"),0) = "A" .SortChildren 0,0,False End With End With End Function </SCRIPT> </BODY> |
77 |
How do I perform my own/custom sort, using my extra numbers
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("desc").SortType = 5 With .Items .CellData(.AddItem(0),0) = 2 .CellData(.AddItem(1),0) = 1 .CellData(.AddItem(2),0) = 0 .SortChildren 0,0,False End With End With End Function </SCRIPT> </BODY> |
76 |
By default, the column gets sorted as strings, so how do I sort a column by time only
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("desc").SortType = 4 With .Items .AddItem "11:00" .AddItem "10:10" .AddItem "12:12" .SortChildren 0,0,False End With End With End Function </SCRIPT> </BODY> |
75 |
By default, the column gets sorted as strings, so how do I sort a column by date and time
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("desc").SortType = 3 With .Items .AddItem "1/1/2001 11:00" .AddItem "1/1/2001 10:10" .AddItem "1/3/2003" .SortChildren 0,0,False End With End With End Function </SCRIPT> </BODY> |
74 |
By default, the column gets sorted as strings, so how do I sort a column by dates
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("desc").SortType = 2 With .Items .AddItem "1/1/2001" .AddItem "1/2/2002" .AddItem "1/3/2003" .SortChildren 0,0,False End With End With End Function </SCRIPT> </BODY> |
73 |
How do I sort a column by numbers
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("desc").SortType = 1 With .Items .AddItem 1 .AddItem 5 .AddItem 10 .SortChildren 0,0,False End With End With End Function </SCRIPT> </BODY> |
72 |
How do I hide the control's header bar
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .HeaderVisible = False End With End Function </SCRIPT> </BODY> |
71 |
How do change the visual appearance for the control's header bar, using EBN
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn" .BackColorHeader = &H1000000 End With End Function </SCRIPT> </BODY> |
70 |
How do I remove the control's border
|
69 |
I have a hierarchy and I need to filter only root items that match, with thier childs
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = -1 .FilterInclude = 3 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 240 .Filter = "R1" End With With .Items h = .AddItem("R1") .InsertItem h,,"C1" .InsertItem h,,"C2" .ExpandItem(h) = True h = .AddItem("R2") .InsertItem h,,"C1" .InsertItem h,,"C2" End With .ApplyFilter End With End Function </SCRIPT> </BODY> |
68 |
I have a hierarchy and I need to filter only root items that match, without thier childs
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = -1 .FilterInclude = 2 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 240 .Filter = "R1" End With With .Items h = .AddItem("R1") .InsertItem h,,"C1" .InsertItem h,,"C2" .ExpandItem(h) = True h = .AddItem("R2") .InsertItem h,,"C1" .InsertItem h,,"C2" End With .ApplyFilter End With End Function </SCRIPT> </BODY> |
67 |
I have a hierarchy and I need to filter only parent items that match, including thier childs
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = -1 .FilterInclude = 1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 240 .Filter = "R1" End With With .Items h = .AddItem("R1") .InsertItem h,,"C1" .InsertItem h,,"C2" .ExpandItem(h) = True h = .AddItem("R2") .InsertItem h,,"C1" .InsertItem h,,"C2" End With .ApplyFilter End With End Function </SCRIPT> </BODY> |
66 |
How can I get ride/hide of the "Filter For" field
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterPattern = False End With End With End Function </SCRIPT> </BODY> |
65 |
Is there any way to get listed only visible items in the drop down filter window
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = -1 .Description(0) = "" .Description(1) = "" .Description(2) = "" With .Columns.Add("P1") .DisplayFilterButton = True .DisplayFilterPattern = False .FilterList = 1 End With With .Columns.Add("P2") .DisplayFilterButton = True .DisplayFilterPattern = False End With With .Items h = .AddItem("R1") .CellCaption(h,1) = "R2" .CellCaption(.InsertItem(h,,"Cell 1.1"),1) = "Cell 1.2" .CellCaption(.InsertItem(h,,"Cell 2.1"),1) = "Cell 2.2" End With End With End Function </SCRIPT> </BODY> |
64 |
How do I filter for items that match exactly the specified string
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 240 .Filter = "Item 1" End With .Items.AddItem "Item 1" .Items.AddItem "Item 2" .Items.AddItem "Item 3" .ApplyFilter End With End Function </SCRIPT> </BODY> |
63 |
How can I can I programmatically filter for items with a specified icon assigned
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 10 .Filter = 1 End With With .Items .CellImage(.AddItem("Image 1"),0) = 1 .CellImage(.AddItem("Image 1"),0) = 1 .CellImage(.AddItem("Image 2"),0) = 2 .CellImage(.AddItem("Image 3"),0) = 3 End With .ApplyFilter End With End Function </SCRIPT> </BODY> |
62 |
How can I can I programmatically filter the checked items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .Def(0) = True .DisplayFilterButton = True .FilterType = 6 .Filter = 0 End With .Items.AddItem 0 With .Items .CellState(.AddItem(1),0) = 1 End With .Items.AddItem 2 .ApplyFilter End With End Function </SCRIPT> </BODY> |
61 |
How can I can I filter programmatically the items based on some numerichal rules
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 5 .Filter = "> 0 <= 1" End With .Items.AddItem 0 .Items.AddItem 1 .Items.AddItem 2 .ApplyFilter End With End Function </SCRIPT> </BODY> |
60 |
How can I can I filter programmatically the items based on a range/interval of dates
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterDate = True .FilterType = 4 .Filter = "1/1/2001 to 1/1/2002" End With .Items.AddItem "1/1/2001" .Items.AddItem "2/1/2002" .ApplyFilter End With End Function </SCRIPT> </BODY> |
59 |
How can I can I filter programmatically given a specified pattern using wild characters like * or
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 3 .Filter = "0*" End With .Items.AddItem 0 .Items.AddItem "00" .Items.AddItem 1 .Items.AddItem "11" .ApplyFilter End With End Function </SCRIPT> </BODY> |
58 |
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 1 End With .ApplyFilter End With End Function </SCRIPT> </BODY> |
57 |
How can I display the column's filter
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("").DisplayFilterButton = True End With End Function </SCRIPT> </BODY> |
56 |
How can I show only the vertical scroll bar
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .ColumnAutoResize = True .ScrollBars = 10 .Columns.Add 1 .Columns.Add 2 End With End Function </SCRIPT> </BODY> |
55 |
How can I show the control's grid lines only for added/visible items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .MarkSearchColumn = False .DrawGridLines = -2 .Columns.Add "Column 1" .Columns.Add "Column 2" .Items.AddItem 0 .Items.AddItem 1 .Items.AddItem 2 End With End Function </SCRIPT> </BODY> |
54 |
Can I hide the hierarchy lines
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = 1 .HasLines = 0 .Columns.Add "Column" With .Items h = .AddItem("Root 1") .InsertItem h,,"Child 1" .InsertItem h,,"Child 2" .ExpandItem(h) = True h = .AddItem("Root 2") .InsertItem h,,"Child" End With End With End Function </SCRIPT> </BODY> |
53 |
Can I change the style or type for the hierarchy lines
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = 1 .HasLines = 2 .Columns.Add "Column" With .Items h = .AddItem("Root 1") .InsertItem h,,"Child 1" .InsertItem h,,"Child 2" .ExpandItem(h) = True h = .AddItem("Root 2") .InsertItem h,,"Child" End With End With End Function </SCRIPT> </BODY> |
52 |
Can I use my own icons for the +/- ( expand/collapse ) buttons
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" .LinesAtRoot = 1 .HasButtons = 4 .HasButtonsCustom(0) = 1 .HasButtonsCustom(1) = 2 .Columns.Add "Column" With .Items h = .AddItem("Root 1") .InsertItem h,,"Child 1" .InsertItem h,,"Child 2" .ExpandItem(h) = True h = .AddItem("Root 2") .InsertItem h,,"Child" End With End With End Function </SCRIPT> </BODY> |
51 |
How do I change visual appearance of the +/- ( expand/collapse ) buttons
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = 1 .HasButtons = 3 .Columns.Add "Column" With .Items h = .AddItem("Root 1") .InsertItem h,,"Child 1" .InsertItem h,,"Child 2" .ExpandItem(h) = True h = .AddItem("Root 2") .InsertItem h,,"Child" End With End With End Function </SCRIPT> </BODY> |
50 |
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 6 .Filter = 0 End With .Description(21) = "Check_On" .Description(22) = "Check_Off" .ApplyFilter End With End Function </SCRIPT> </BODY> |
49 |
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 6 End With .Description(19) = "with check on" .Description(20) = "with check off" End With End Function </SCRIPT> </BODY> |
48 |
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterDate = True End With .Description(18) = "Du Lu Ma Mi Jo Vi Si" .ApplyFilter End With End Function </SCRIPT> </BODY> |
47 |
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterDate = True End With .Description(17) = "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre" .ApplyFilter End With End Function </SCRIPT> </BODY> |
46 |
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterDate = True End With .Description(16) = "Azi" .ApplyFilter End With End Function </SCRIPT> </BODY> |
45 |
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterDate = True End With .Description(13) = "->" .ApplyFilter End With End Function </SCRIPT> </BODY> |
44 |
How can I filter the items that are between an interval/range of dates
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterDate = True End With .ApplyFilter End With End Function </SCRIPT> </BODY> |
43 |
Can I change the "Date:" caption when the column's drop down filter window is shown
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .DisplayFilterDate = True End With .Description(12) = "Range" .ApplyFilter End With End Function </SCRIPT> </BODY> |
42 |
Can I filter for values using OR - NOT , instead AND operator
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column 1") .DisplayFilterButton = True .FilterType = 1 End With With .Columns.Add("Column 2") .DisplayFilterButton = True .FilterType = 1 End With With .Columns.Add("Column 3") .DisplayFilterButton = True .FilterType = 1 End With .FilterCriteria = "%0 or not %1 and %2" .ApplyFilter End With End Function </SCRIPT> </BODY> |
41 |
Can I change the NOT string in the filter bar
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column 1") .DisplayFilterButton = True .FilterType = 1 End With With .Columns.Add("Column 2") .DisplayFilterButton = True .FilterType = 2 End With .FilterCriteria = "not %0 or %1" .Description(24) = " ! " .Description(10) = " ! IsBlank" .ApplyFilter End With End Function </SCRIPT> </BODY> |
40 |
Can I change the OR string in the filter bar
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column 1") .DisplayFilterButton = True .FilterType = 1 End With With .Columns.Add("Column 2") .DisplayFilterButton = True .FilterType = 2 End With .FilterCriteria = "%0 or %1" .Description(23) = " | " .ApplyFilter End With End Function </SCRIPT> </BODY> |
39 |
Can I change the AND string in the filter bar
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column 1") .DisplayFilterButton = True .FilterType = 1 End With With .Columns.Add("Column 2") .DisplayFilterButton = True .FilterType = 2 End With .Description(11) = " & " .ApplyFilter End With End Function </SCRIPT> </BODY> |
38 |
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns.Add("Column") .DisplayFilterButton = True .FilterType = 1 End With .Description(9) = "Is Empty" .Description(10) = "Is Not Empty" .ApplyFilter End With End Function </SCRIPT> </BODY> |
37 |
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column").DisplayFilterButton = True .Description(4) = "" .Description(5) = "" .Description(6) = "" .Description(7) = "" .Description(8) = "" .Description(14) = "" .Description(15) = "" End With End Function </SCRIPT> </BODY> |
36 |
How can I change the "Filter For" caption in the column's drop down filter window
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column").DisplayFilterButton = True .Description(3) = "new caption" End With End Function </SCRIPT> </BODY> |
35 |
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column").DisplayFilterButton = True .Description(0) = "" .Description(1) = "" .Description(2) = "" End With End Function </SCRIPT> </BODY> |
34 |
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column").DisplayFilterButton = True .Description(0) = "new name for (All)" End With End Function </SCRIPT> </BODY> |
33 |
How can I change the position of the column
|
32 |
Can I make strikeout the column's header
|
31 |
How can I apply an strikeout font only a portion of the column's header
|
30 |
How can I get underlined only a portion of column's header
|
29 |
How can I underline the column's header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column 1").HeaderUnderline = True End With End Function </SCRIPT> </BODY> |
28 |
How can I apply an italic font only a portion of the column's header
|
27 |
Is there any option to make italic the column's header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column 1").HeaderItalic = True End With End Function </SCRIPT> </BODY> |
26 |
How can I bold only a portion of the column's header
|
25 |
Is there any option to bold the column's header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column 1").HeaderBold = True End With End Function </SCRIPT> </BODY> |
24 |
Why child items are not shown
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = -1 .Columns.Add "Column 1" With .Items h = .AddItem("Root") .InsertItem h,,"Child 1" .InsertItem h,,"Child 2" .ExpandItem(h) = True End With End With End Function </SCRIPT> </BODY> |
23 |
Does your control support partial-check ( three states ) feature for each column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .LinesAtRoot = -1 With .Columns.Add("P1") .Def(0) = True .PartialCheck = True End With With .Columns.Add("P2") .Def(0) = True .PartialCheck = True End With With .Items h = .AddItem("Root") .InsertItem h,,"Child 1" .InsertItem h,,"Child 2" .ExpandItem(h) = True End With End With End Function </SCRIPT> </BODY> |
22 |
Is there any option to change the color for the grid lines
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add "" .DrawGridLines = -1 .GridLineColor = RGB(255,0,0) End With End Function </SCRIPT> </BODY> |
21 |
Can I change the font to display the column's header
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .HeaderHeight = 34 .Columns.Add("Column 1").HTMLCaption = "<font Tahoma;14>Column</font> 1" End With End Function </SCRIPT> </BODY> |
20 |
Can I change the height of the header bar
|
19 |
Can I display multiple icons to the column's header
|
18 |
How can I draw grid lines only for visible items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .MarkSearchColumn = False .DrawGridLines = -2 .Columns.Add "Column 1" .Columns.Add "Column 2" .Items.AddItem 0 .Items.AddItem 1 .Items.AddItem 2 End With End Function </SCRIPT> </BODY> |
17 |
How can I show the control's grid lines
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .MarkSearchColumn = False .DrawGridLines = -1 .Columns.Add "Column 1" .Columns.Add "Column 2" .Items.AddItem 0 .Items.AddItem 1 .Items.AddItem 2 End With End Function </SCRIPT> </BODY> |
16 |
How can I assign a different background color for the entire column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .MarkSearchColumn = False .Columns.Add("Column 1").Def(4) = 255 .Columns.Add "Column 2" .Items.AddItem 0 .Items.AddItem 1 .Items.AddItem 2 End With End Function </SCRIPT> </BODY> |
15 |
How can I assign a check box for a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add "Column 1" With .Items .AddItem 0 .CellHasCheckBox(.AddItem(1),0) = True .AddItem 2 End With End With End Function </SCRIPT> </BODY> |
14 |
How can I assign checkboxes for the entire column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Column 1").Def(0) = True .Items.AddItem 0 .Items.AddItem 1 .Items.AddItem 2 End With End Function </SCRIPT> </BODY> |
13 |
How can I show both scrollbars
|
12 |
How can I change the column's width
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .ColumnAutoResize = False .Columns.Add("Column 1").Width = 64 .Columns.Add("Column 2").Width = 128 End With End Function </SCRIPT> </BODY> |
11 |
How can I show or hide a column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Hidden").Visible = False End With End Function </SCRIPT> </BODY> |
10 |
How can I hide the searching column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .MarkSearchColumn = False .Columns.Add "Column 1" .Columns.Add "Column 2" .Items.AddItem End With End Function </SCRIPT> </BODY> |
9 |
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Unsortable").AllowSort = False .Columns.Add "Sortable" End With End Function </SCRIPT> </BODY> |
8 |
Is there any option to align the header to the left and the data to the right
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 .Columns.Add("Left").Alignment = 0 With .Columns.Add("Right") .Alignment = 2 .HeaderAlignment = 2 End With With .Items .CellCaption(.AddItem("left"),1) = "right" End With End With End Function </SCRIPT> </BODY> |
7 |
Can I displays a custom size picture to column's header
|
6 |
How can I insert an icon to column's header
|
5 |
How can I insert an icon to column's header
|
4 |
How can I use HTML format in column's header
|
3 |
How can I change/rename the column's name
|
2 |
How can I add multiple columns
<BODY onload="Init()"> <OBJECT CLASSID="clsid:3C5FC763-72BA-4B97-9985-81862E9251F2" id="Tree1"></OBJECT> <SCRIPT LANGUAGE="VBScript"> Function Init() With Tree1 With .Columns .Add "Column 1" .Add "Column 2" End With End With End Function </SCRIPT> </BODY> |
1 |
How can I add a new column
|